﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BrokerBase.Lib.Core;
using BrokerBase.Lib.Policy;
using BrokerBase.Lib.Base;

namespace BrokerBase.Lib.Person
{
    public enum SexType { Male = 1, Fmale = 2 }
    /// <summary>
    /// 保险相关人
    /// </summary>
    public interface IPerson:IItem
    {
        /// <summary>
        /// 性别
        /// </summary>
        SexType Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        DateTime Birthday { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        int Age { get; set; }

        /// <summary>
        /// 移动电话
        /// </summary>
        string Mobile { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        string HomePhone{ get; set; }
        /// <summary>
        /// 工作电话
        /// </summary>
        string WorkPhone { get; set; }
        /// <summary>
        /// 即使通讯
        /// </summary>
        string QQ { get; set; }

        string Msn { get; set; }

        string Wangwang { get; set; }

        string WeiBo { get; set; }
        /// <summary>
        /// email
        /// </summary>
        string EMail { get; set; }
        /// <summary>
        /// 证件号码
        /// </summary>
        string IdCardNo { get; set; }
        /// <summary>
        /// 家庭地址
        /// </summary>
        string HomeAddress { get; set; }
        /// <summary>
        /// 工作地址
        /// </summary>
        string WorkAddress { get; set; }
        /// <summary>
        /// 工作单位
        /// </summary>
        string Organization { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        string Department { get; set; }
        /// <summary>
        /// 职位
        /// </summary>
        string Position { get; set; }
        /// <summary>
        /// 年收入
        /// </summary>
        double AnnualIncome { get; set; }
        /// <summary>
        /// 个人爱好
        /// </summary>
        string Hobby { get; set; }
        /// <summary>
        /// 照片
        /// </summary>
        byte[] Photo { get; set; }
        /// <summary>
        /// 获取一个在指定年份客户的年龄
        /// </summary>
        /// <param name="year"></param>
        /// <returns></returns>
        //int GetAgeByYear(DateTime time);
        /// <summary>
        /// 购买的保单
        /// </summary>
        IList<IScheme> Schemes { get; set; }

        string Job { get; set; }
        /// <summary>
        /// 
        /// </summary>
        int Attention { get; set; }

        
    }
}
